﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Content/master/master_dasboard.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript" src="/Scripts/jquery-ui-1.8.11.min.js"></script>
<script type="text/javascript">
    jQuery(document).ready(function () {
        jQuery('body').removeAttr("class");
    });
</script>
<%  ViewBag.permission = ViewBag.permission ?? false;
    if (!ViewBag.permission) {
       Html.RenderPartial("~/Views/Shared/control_topheader_error.ascx");
       Html.RenderPartial("~/Views/Shared/control_header_error.ascx");
       Html.RenderPartial("~/Views/Shared/control_forbidden_access.ascx");
   } else {
       Html.RenderPartial("~/Views/Shared/control_topheader.ascx");
       Html.RenderAction("control_header");
       %><div style="top:20px;background:none;"><%
       Html.RenderAction("control_leftmenu_profile");
       %></div><div style="clear:both;"></div><div style="clear:both;left:230px;position:relative;top:-146px;"><%
       Html.RenderAction("control_leftmenu_content");
       %></div><div style="clear:both;left:460px;position:relative;top:-146px"><%
       Html.RenderAction("control_leftmenu_account");
       %></div><%
   } 
%>
</asp:Content>
